﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Text;

namespace GateWayDataBase
{
    public class DBEntities:DbContext
    {
                public DBEntities(string connstr)
            : base(connstr)
        {
        }
    
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            throw new UnintentionalCodeFirstException();
        }

        public DbSet<SendingSMS> SendingSMS { get; set; }
        public DbSet<DeliverSMS> DeliverSMS { get; set; }
        public DbSet<SubmitSMS> SubmitSMS { get; set; }
    }
}
